package com.soft.collateral.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/7/25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("押品类型")
@TableName("collateral_type")
public class CollateralType {

    @TableId(value = "type_id",type = IdType.AUTO)
    @ApiModelProperty("押品类型ID")
    private Integer typeId;

    @TableField("type_name")
    @ApiModelProperty("押品类型名称")
    private String typeName;

    @TableField("description")
    @ApiModelProperty("押品类型描述")
    private String description;
}